package cn.coderwe.model;

import java.util.List;

/**
 * @author : coderwe
 */

public class Chapter {
    private String name;
    private List<String> content;

    public Chapter(String name, List<String> content) {
        this.name = name;
        this.content = content;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getContent() {
        return content;
    }

    public void setContent(List<String> content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return this.name;
    }
}
